set -x
ocamlc.opt -o blasgen str.cma  blasgen.ml
./blasgen
gcc -g -c -I ../../octi-rawb/trunk octi_rawblas_stubs.c 
ocamlc.opt -g -c -I ../../octi-rawb/trunk octi_rawblas.mli 
ocamlc.opt -g -c -I ../../octi-rawb/trunk octi_rawblas.ml
ocamlmktop -ccopt -g -o mytop -custom octi_rawblas_stubs.o \
    ../../octi-rawb/trunk/octi_rawb_stubs.o -cclib -lblas \
    ../../octi-rawb/trunk/octi_rawb.cmo \
    -I ../../octi-rawb/trunk octi_rawblas.mli octi_rawblas.ml

./mytop -I ../../octi-rawb/trunk rawblas_test.ml
